<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link th:href="@{../css/shop.css}" type="text/css" rel="stylesheet" />
    <link th:href="@{../css/bkg_ui.css}" type="text/css"  rel="stylesheet" />
    <link href="../layui/css/layui.css" type="text/css" rel="stylesheet" />
    <title>添加优惠券</title>
</head>
<body>
<div class="margin" id="page_style">

    <div class="add_style">
        <form id="addCoupon" th:action="@{/role/update}" method="post">
            <ul>
                <li class="clearfix">
                    <label class="label_name col-xs-1"><i>*</i>角色名称：&nbsp;&nbsp;</label>
                    <div class="col-xs-11">
                        <input name="roleId" th:value="${role.getRoleId()}" type="hidden"/>
                        <input name="roleName" th:value="${role.getRoleName()}" type="text"  class="col-xs-4"/>
                    </div>
                </li>
                <li class="clearfix">
                    <a th:href="@{/role/update}"><input class="btn button_btn bg-deep-blue" type="submit" id="add" value="保存提交"/></a>
                    <a href="show"><input class="btn button_btn bg-gray" type="button" value="取消添加"/></a>
                </li>
            </ul>
        </form>
    </div>
</div>
<script th:src="@{../layui/layui.js}"></script>
<script type="text/javascript" th:src="@{../js/jquery-1.9.1.min.js}"></script>
</body>
</html>